package com.feature50.clarity.misc;

public class SimpleClarityProgressMonitor extends Observable implements ClarityProgressMonitor {
    private String caption;

    public String getCaption() {
        return caption;
    }

    public void setCaption(String name) {
        String old = this.caption;
        caption = name;
        firePropertyChange("caption", old, name);
    }

    public void setSubcaption(String name) {}

    public void setTaskSize(int totalUnits) {}

    public void unitsCompleted(int units) {}

    public void setUnknownTaskSize(boolean unknown) {}

    public void done() {}

    public void setCancelled(boolean cancelled) {}

    public boolean isCancelled() {
        return false;
    }
}
